package cn.ibizlab.odoo.core.odoo_portal.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_portal.domain.Portal_wizard_user;
import cn.ibizlab.odoo.core.odoo_portal.filter.Portal_wizard_userSearchContext;

/**
 * 实体[Portal_wizard_user] 服务对象接口
 */

public interface IPortal_wizard_userService{
     boolean remove(Integer id) ;
     void updateBatch(List<Portal_wizard_user> portal_wizard_users, int batchSize) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     void createBatch(List<Portal_wizard_user> portal_wizard_users, int batchSize) ;
     boolean create(Portal_wizard_user portal_wizard_user) ;
     Portal_wizard_user get(Integer id) ;
     Portal_wizard_user get(Portal_wizard_user portal_wizard_user) ;
     boolean update(Portal_wizard_user portal_wizard_user) ;

    /**
     * 查询集合 默认查询
     */
    Page<Portal_wizard_user> searchDefault(Portal_wizard_userSearchContext context) ;

    /**
     * 根据授予门户访问查询
     */
     Page<Portal_wizard_user> selectByOdoo_wizard(Integer id) ;

    /**
     * 根据联系人查询
     */
     Page<Portal_wizard_user> selectByOdoo_partner(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Portal_wizard_user> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Portal_wizard_user> selectByOdoo_user(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Portal_wizard_user> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Portal_wizard_user convert2Domain(cn.ibizlab.odoo.core.client.model.Iportal_wizard_user model ,Portal_wizard_user domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iportal_wizard_user convert2Model(Portal_wizard_user domain , cn.ibizlab.odoo.core.client.model.Iportal_wizard_user model);

}
